package com.ruoyi.system.domain.vo;

import java.util.List;

/**
 * 路由显示信息
 * 
 * @author ruoyi
 */
public class MetaVo
{
    /**
     * 设置该路由在侧边栏和面包屑中展示的名字
     */
    private String title;

    /**
     * 设置该路由的图标，对应路径src/assets/icons/svg
     */
    private String img;

    /**
     * 设置为true，则不会被 <keep-alive>缓存
     */
    private boolean noCache;

    /**
     * 设置该路由打开时的图标
     */
    private String img1;
    /**
     * 设置该路由路径
     */
    private String path;

    /**
     * 子菜单
     */
    private List<MetaVo> children;

    /**
     * 设置为true 代表不是菜单
     */
    private boolean no;

    public MetaVo()
    {
    }

    public MetaVo(String title, String icon)
    {
        this.title = title;
        this.img = icon;
    }

    public MetaVo(String title, String icon, boolean noCache,String img,boolean no,String path)
    {
        this.title = title;
        this.img = icon;
        this.noCache = noCache;
        this.img1 = img;
        this.no = no;
        this.path = path;
    }

    public boolean isNoCache()
    {
        return noCache;
    }

    public void setNoCache(boolean noCache)
    {
        this.noCache = noCache;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1;
    }

    public List<MetaVo> getChildren() {
        return children;
    }

    public void setChildren(List<MetaVo> children) {
        this.children = children;
    }

    public boolean getNo() {
        return no;
    }

    public void setNo(boolean no) {
        this.no = no;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
